<?php
namespace app\admin\validate;
use think\Validate;

/**
* 用户
*/
class User extends Validate
{
	
    protected $rule = [
        'account' => 'require|length:3,20',
        'password' => 'require|length:4,20',
    ];

    protected $message = [
        'account.require' => '请输入用户名',
        'password.require' => '请输入密码',
    ];
    
}
